package com.yunji.order.ali;

import lombok.Data;

/**
 * @author : peter-zhu
 * @date : 2025/4/14 10:31
 * @description : TODO
 **/
@Data
public class AliPayoutRespDTO {
    private boolean success;
    private String tradeCode;
    private String alipayTradeNo;
    private String alipayOrderNo;
    private String time;
    private String errorMsg;

    public AliPayoutRespDTO(boolean success, String tradeCode, String alipayTradeNo, String alipayOrderNo, String time, String errorMsg) {
        this.success = success;
        this.time = time;
        this.tradeCode = tradeCode;
        this.alipayOrderNo = alipayOrderNo;
        this.alipayTradeNo = alipayTradeNo;
        this.errorMsg = errorMsg;
    }

    public AliPayoutRespDTO(boolean success, String errorMsg) {
        this.success = success;
        this.errorMsg = errorMsg;
    }
}
